package com.example.springboot_08_restful.service;

import com.example.springboot_08_restful.pojo.Message;

import java.util.List;

/**
 * @auther cangshufeilun
 * @date 2022/4/3 15:15
 */
public interface IMessageService {
    public void save(Message m);

    public List<Message> findAll();

    public Message findById(Long id);

    public void removeById(Long id);

    public void updateById(Message m);

    public void updateText(Message m);
}
